package com.mj.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体类
 * @author majie
 *
 */
public class User implements Serializable{
	
	private static final long serialVersionUID = -1721925223243528925L;
	/**
	 * 用户id
	 */
	private String id;
	/**
	 * 用户名字
	 */
	private String userName;
	/**
	 * 用户性别
	 * 0女 1男 2 其他
	 */
	private Integer sex;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 电话
	 */
	private String mobilephone;
	/**
	 * 状态 0表示未激活,1激活
	 */
	
	private Integer state;
	/**
	 * 创建时间
	 */
	private Date createTime;
	private String password;
	public User(){
		
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobilephone() {
		return mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
